import {request} from "../../request";

export function getScheduleLogById(id){
    return request({
        url:`/sys/scheduleLog/${id}`,
        method:'get'
    })
}


export function getScheduleLogPage(data){
    return request({
        url:'/sys/scheduleLog/page',
        method:'put',
        data:data
    })
}

export function putScheduleLog(data){
    return request({
        url:'/sys/scheduleLog',
        method:'put',
        data:data
    })
}
export function postScheduleLog(data){
    return request({
        url:'/sys/scheduleLog',
        method:'post',
        data:data
    })
}

export function deleteScheduleLog(data){
    return request({
        url:`/sys/scheduleLog`,
        method:'delete',
        data:data
    })
}
export function exportScheduleLog(data){
    return request({
        url:`/sys/scheduleLog/export`,
        method:'get',
        data:data,
        responseType:'blob'
    })
}

